package com.j1ay.forum.service;

import com.j1ay.forum.model.pojo.po.User;
import com.j1ay.forum.model.dto.params.LoginParam;
import com.j1ay.forum.model.dto.params.RegisterParams;
import com.j1ay.forum.model.pojo.vo.Result;

/**
 * @Author J1ay
 * @Date 2021/12/15 13:41
 * @Description 登录业务
 */


public interface LoginService {

    User checkToken(String token);

    Result logout(String token);

}
